#!/usr/bin/env python
# -*- coding:utf-8 -*-
# @Time      :2021/7/16 14:18
# @Author    :cjw
from typing import Optional

from pydantic import BaseModel


class Token(BaseModel):
	access_token: str
	token_type: str


class TokenPayload(BaseModel):
	user_id: Optional[int] = None
